<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="current"></div>
<script src="jquery.min.js">
</script>
<script>
    function getData(){
        $.get("current",function (data,status) {
            $("#current").html(data);
        });
    }
    setInterval(getData,1000)
</script>
</body>
</html>